/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package side;

import javafx.scene.control.TreeItem;

/**
 *
 * @author Barbar
 */
public class ExpandList {
    /*
     * Klasa zawierająca elementy, które sa katalogami
     * dir - nazwa elementu drzewa, ktora jest katalogiem
     * absolutePathUp - ścieżka absolutna katalogu powyżej
     * absolutePath - ścieżka absolutna katalogu
     */

    private TreeItem<String> dir;
    private String absolutePathUp;
    private String absolutePath;

    public ExpandList(TreeItem<String> dir, String pathUp, String path) {
        this.absolutePath = path;
        this.dir = dir;
        this.absolutePathUp = pathUp;
    }

    /**
     * @return the dir
     */
    public TreeItem<String> getDir() {
        return dir;
    }

    /**
     * @param dir the dir to set
     */
    public void setDir(TreeItem<String> dir) {
        this.dir = dir;
    }

    /**
     * @return the absolutePathUp
     */
    public String getAbsolutePathUp() {
        return absolutePathUp;
    }

    /**
     * @param absolutePathUp the absolutePathUp to set
     */
    public void setAbsolutePathUp(String absolutePathUp) {
        this.absolutePathUp = absolutePathUp;
    }

    /**
     * @return the absolutePath
     */
    public String getAbsolutePath() {
        return absolutePath;
    }

    /**
     * @param absolutePath the absolutePath to set
     */
    public void setAbsolutePath(String absolutePath) {
        this.absolutePath = absolutePath;
    }

}
